package Demo1;

//鼠标类
public class Mouse implements IUsb{

   //重写父类的抽象方法
    @Override
    public void openDevice(){

        System.out.println("打开鼠标....");
    }

    @Override
    public void closeDevice(){
        System.out.println("关闭鼠标....");
    }

    //鼠标类的普通方法
    public void click(){

        System.out.println("点击鼠标....");
    }

}
